import os
import subprocess
import time

from config import BASC


def cmdcom(realcomm):
        p = subprocess.Popen(realcomm, shell=True)
        p.wait()
        time.sleep(0.5)

pac = "Pyinstaller -F 可视界面.py"
cmdcom(pac)








